<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>注册</title>
    <style>
        .main {
            text-align: center;
            width: 100%;
            height: 768px;
        }

        .login {
            width: 500px;
            height: 250px;
            border: 1px solid black;
            margin: 150px auto;
            padding-top: 4%;
        }
    </style>
</head>
<body>

<div class="main">
    <h2>Hello World!</h2>
    <div class="login">
        <form action="register" method="post" enctype="multipart/form-data">
            用户名:<input type="text" name="userName"><br>
            昵 称:<input type="text" name="nickName"><br>
            密 码:<input type="password" name="passWord"><br>
            注册日期:<input type="date" name="regTime"><br>
            手机号:<input type="text" name="userDetail.userTel"><br>
            地 址:<input type="text" name="userDetail.userAddress"><br>
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;头
            像:<input type="file" name="file"><br><br><br>
            <input type="submit" value="register">
        </form>
    </div>
</div>

</body>
</html>
